package com.yanqu.road.entity.assistant;

import com.yanqu.road.entity.DataObject;

/**
 * @author ：zfr
 * @date ：2021/11/8 14:20
 */
public class AssistantShopSet extends DataObject {
    private long userId;
    private int mallId;
    private long count;

    public AssistantShopSet(long userId, int mallId, long count, short op) {
        this.userId = userId;
        this.mallId = mallId;
        this.count = count;
        this.setOp(op);
    }

    public AssistantShopSet() {
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getMallId() {
        return mallId;
    }

    public void setMallId(int mallId) {
        this.mallId = mallId;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        if (this.count != count) {
            this.count = count;
            setUpdateOption();
        }
    }
}
